var Sha512 = function(){
};

/*
 * These are the functions you'll usually want to call
 * They take string arguments and return either hex or base-64 encoded strings
 */
Sha512.prototype.hex_sha512 = function(s){ return rstr2hex(rstr_sha512(str2rstr_utf8(s))); };
Sha512.prototype.b64_sha512 = function(s){ return rstr2b64(rstr_sha512(str2rstr_utf8(s))); };
Sha512.prototype.any_sha512 = function(s, e){ return rstr2any(rstr_sha512(str2rstr_utf8(s)), e);};
Sha512.prototype.hex_hmac_sha512 = function(k, d){ return rstr2hex(rstr_hmac_sha512(str2rstr_utf8(k), str2rstr_utf8(d))); };
Sha512.prototype.b64_hmac_sha512 = function (k, d){ return rstr2b64(rstr_hmac_sha512(str2rstr_utf8(k), str2rstr_utf8(d))); };
Sha512.prototype.any_hmac_sha512 = function (k, d, e){ return rstr2any(rstr_hmac_sha512(str2rstr_utf8(k), str2rstr_utf8(d)), e);};